﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Zeus.Biz.MySql.EF.Config;
using Zeus.Biz.MySql.EF.Model;

namespace Zeus.Biz.MySql.EF.Repository
{
    public class CustomerRepository
    {
        public List<Customer> GetAllCustomers()
        {
            ZeusMyContext context = new ZeusMyContext("ZeusMySqlDb");
            List<Customer> customers = context.Customers.ToList();

            return customers;
        }
    }
}
